<%@ page language="java" import="java.util.*,com.king.cms.common.*" pageEncoding="utf-8"%>
<%@ include file="/hotel/include/css.jsp"%><%-- /*包含css样式表*/ --%>
 
<html>
<head>
<title>上传文件</title>

<script language="javascript">
  function docheck(){

 

if(form1.fileupload.value == "")
	{
	alert("未选择上传文件");return;
	}
	form1.action = '<%=path %>/config.do?action=upload&field=<%=request.getParameter("field")%>';
	form1.submit(); 
	
 } 
 
 
</script>
</head>
<body>
<center>
<BR>
<form name="form1" enctype="multipart/form-data" method="post" action="">
<table border="0" cellpadding="4" cellspacing="1" style="border-collapse: collapse; width:400" bordercolor="#111111" class="bg_table" width="80%" height="180" align="center">
  <tr>
    <td class="top_td" colspan="2" align="center"></td>
  </tr> 
 <tr class="td2"> 
    <td width="100%" colspan="2" align="center"><b>文件上传</b></td>
     
  </tr>  
  <tr class="td2"> 
    <td width="20%">选择文件</td>
    <td width="80%" align="left"> 
    <input type="file" name="fileupload" size="70"   style="width:80%"  class="area100"  ></td>
  </tr>  
   
  <tr class="td2"> 
    <td colspan="2" align="middle">
	 
	<input type="button"   value="上传文件" class="area100" onclick="docheck()" >
	 
 
 </td>
  </tr>
  <tr>
    <td class="top_td" colspan="2" align="center"></td>
  </tr>
</table>
</form>
</center>
</body>
</html>